# -*- coding: utf-8 -*-
from src.game.entity.player import EntityPlayer

class MoveLeft:

    def handle(self, client):
        client.world.player.move(-EntityPlayer.speed, 0)
        
    def handleUp(self, client):
        pass

class MoveRight:

    def handle(self, client):
        client.world.player.move(EntityPlayer.speed, 0)
    
    def handleUp(self, client):
        pass

class MoveUp:

    def handle(self, client):
        client.world.player.move(0, -EntityPlayer.speed)

    def handleUp(self, client):
        pass
    
class MoveDown:

    def handle(self, client):
        client.world.player.move(0, EntityPlayer.speed)
    
    def handleUp(self, client):
        pass